package auth.service.impl;

import auth.service.OrderServiceFeignClient;
import common.model.result.Result;
import common.model.result.ResultCodeEnum;

import org.springframework.stereotype.Service;

@Service
public class OrderServiceFeignClientFallback implements OrderServiceFeignClient {

    @Override
    public Result getOrderList(Long uid) {
        return Result.failure(ResultCodeEnum.FAIL,"订单列表获取失败");
    }

    @Override
    public Result getAllOrders() {
        return Result.failure(ResultCodeEnum.FAIL, "订单列表获取失败");
    }

}
